Class obstacle_ind_merge
Defined in File obstacle_ind_merge.h
Class Documentation
-
class obstacle_ind_merge
Public Functions
-
explicit obstacle_ind_merge(Obstacle_merge*)
-
bool isObsUpdated()
Check whether new obstacle message has come.
- Returns
true if new obstacle message has come.
-
void ResetObsUpdated()
Clear the flags and the dataset of obstacles.
-
bool isLaneUpdated()
-
void ResetLaneUpdated()
-
void add(unsigned char sensor, MapElement *pMap, index_t ID)
Core function to add object information into current database mapDatabase_long.
- Parameters
sensor – Type of the input sensor.
pMap – Object to be added.
ID – Unique index of the object.
-
void add_lane(std::vector<Eigen::Vector3d>&)
Add lane information into current database LaneSet.
-
void add_curb(std::vector<Eigen::Vector3d>&)
Add curb information into current database CurbSet.
-
void update_threshold(double)
Protected Functions
-
void vecToMat(const std::vector<float>&, cv::Mat&)
-
template<typename T>
T computeHOGHistogramDistances(const cv::Mat&, std::vector<cv::Mat>&, int = CV_COMP_BHATTACHARYYA)
Protected Attributes
-
bool mbObsUpdated
Flag of the object whether it is updated.
-
bool mbCurbUpdated
-
bool mbLaneUpdated
-
double smooth
-
Obstacle_merge *mpObstacle_merge
-
explicit obstacle_ind_merge(Obstacle_merge*)